import request from '../utils/request_BX'
import axios from 'axios';

export const getUserList = (currentPage, pageSize) => {
  return axios.get(`/dish/list/${currentPage}/${pageSize}`);
};

export const searchDishesApi = (current, size, name) => {
  return axios.get(`dish/select/${current}/${size}/${name}`);
};